.class Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;
.super Ljava/lang/Object;
.source "AlbumAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/adapter/AlbumAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/adapter/AlbumAdapter;

.field final synthetic val$holder:Lcom/brixd/niceapp/community/adapter/AlbumAdapter$ViewHolder;

.field final synthetic val$picture:Lcom/brixd/niceapp/community/model/PictureModel;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/adapter/AlbumAdapter;Lcom/brixd/niceapp/community/adapter/AlbumAdapter$ViewHolder;Lcom/brixd/niceapp/community/model/PictureModel;)V
    .registers 4
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/adapter/AlbumAdapter;

    .prologue
    .line 93
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/AlbumAdapter;

    iput-object p2, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->val$holder:Lcom/brixd/niceapp/community/adapter/AlbumAdapter$ViewHolder;

    iput-object p3, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->val$picture:Lcom/brixd/niceapp/community/model/PictureModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 97
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->val$holder:Lcom/brixd/niceapp/community/adapter/AlbumAdapter$ViewHolder;

    iget-object v0, v0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$ViewHolder;->chk:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->toggle()V

    .line 98
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/AlbumAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/AlbumAdapter;->mOnCheckedChangeListener:Lcom/brixd/niceapp/community/adapter/AlbumAdapter$OnPictureCheckedChangeListener;
    invoke-static {v0}, Lcom/brixd/niceapp/community/adapter/AlbumAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/AlbumAdapter;)Lcom/brixd/niceapp/community/adapter/AlbumAdapter$OnPictureCheckedChangeListener;

    move-result-object v0

    if-eqz v0, :cond_1e

    .line 99
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/AlbumAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/AlbumAdapter;->mOnCheckedChangeListener:Lcom/brixd/niceapp/community/adapter/AlbumAdapter$OnPictureCheckedChangeListener;
    invoke-static {v0}, Lcom/brixd/niceapp/community/adapter/AlbumAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/AlbumAdapter;)Lcom/brixd/niceapp/community/adapter/AlbumAdapter$OnPictureCheckedChangeListener;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->val$picture:Lcom/brixd/niceapp/community/model/PictureModel;

    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$1;->val$holder:Lcom/brixd/niceapp/community/adapter/AlbumAdapter$ViewHolder;

    iget-object v2, v2, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$ViewHolder;->chk:Landroid/widget/CheckBox;

    invoke-interface {v0, v1, v2}, Lcom/brixd/niceapp/community/adapter/AlbumAdapter$OnPictureCheckedChangeListener;->onCheckedChanged(Lcom/brixd/niceapp/community/model/PictureModel;Landroid/widget/CompoundButton;)V

    .line 101
    :cond_1e
    return-void
.end method
